﻿using System;
using ActivitiesControl.Domain.DAL;
using ActivitiesControl.Domain.Utils;
using ActivitiesControl.Domain.Model.VOs;
using System.Runtime.Serialization;

namespace ActivitiesControl.Domain.Model.Entities
{
    [Serializable]
	[DataContract]
    public class Activity
	{
		[DataMember]
		public int Id { get; set; }
		[DataMember]
		public string Description { get; set; }
		[DataMember]
		public bool IsChargeable { get; set; }
		[DataMember]
		public Resource Resource { get; set; }
		[DataMember]
		public int ResourceId { get; set; }
		[DataMember]
		public Project Project { get; set; }
		[DataMember]
		public int ProjectId { get; set; }
		[DataMember]
		public int EffortHours { get; set; }
		[DataMember]
		public Date Date { get; set; }
		[DataMember]
		public string ActivityType { get; set; }
	}
}